how to assign a condition to an imageView by using if else

visit shbcf.ru